<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>华普电力</title>
  <style>
    html,
    body,
    .container {
      height: 100%;
      margin: 0;
      padding: 0;
    }

    .container {
      background: right no-repeat url(./icon/封面图.png);
      background-size: auto 100%;
    }

    .main {
      height: 100%;
      width: 60%;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      text-align: center;
    }

    header {
      margin-top: 2vw;
    }

    .content {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: left;
      padding: 10px;
    }

    .content a {
      width: 9.9vw;
      height: 9.9vw;
      position: relative;
    }

    .content a img {
      width: 9.9vw;
      height: 9.9vw;
    }

    .content a {
      margin-left: 5vw;
    }

    .content a:first-child {
      margin-left: 0;
    }

    footer {
      font-size: 0.7vw;
      color: #333333;
      margin-bottom: 1.7vw;
    }

    footer .item {
      display: inline-block;
      margin-right: 3.3vw;
      font-size: .8vw;
    }

    footer .item:last-child {
      margin-right: 0;
    }

    footer .scan {
      margin-bottom: 1.5vw;
    }

    footer img {
      width: 4.8vw;
      height: 4.8vw;
    }
  </style>
</head>

<body>
  <div class="container">
    <main class="main">
      <header>
        <img src="./icon/logo.png" alt="logo" style="width: 8vw; height: 8vw; margin-bottom: 10px;">
        <br>
        <img src="./icon/华普智能服务平台.png" alt="title" style="width: 16vw; height: auto;">
      </header>
      <section class="content">
        <div>
          <div class="row" style="margin-bottom: 2vw">
            <a href="https://huapu-power.com/plat" class="item1"><img class="item1" src="./icon/运维平台-正常.png"
                data-src="./icon/运维平台--点击.png" alt="运维"></a>
            <a href="#" class="item2"><img class="item2" src="./icon/指挥平台-正常.png" data-src="./icon/指挥平台--点击.png"
                alt="指挥"></a>
            <a href="#" class="item3"><img class="item3" src="./icon/能效分析平台-正常.png" data-src="./icon/能效分析--点击.png"
                alt="能效"></a>
          </div>
          <div class="row">
            <a href="#" class="item4"><img class="item4" src="./icon/客户系统-正常.png" data-src="./icon/客户系统-点击.png"
                alt="客户"></a>
            <a href="#" class="item5"><img class="item5" src="./icon/报表系统-正常.png" data-src="./icon/报表系统-点击.png"
                alt="报表"></a>
          </div>
        </div>
      </section>
      <footer>
        <div class="scan">
          <div class="item">
            <img src="./icon/二维码-公众号.png" alt="weixin">
            <div>公众号</div>
          </div>
          <div class="item">
            <img src="./icon/二维码-安卓app.png" alt="android">
            <div>安卓端app</div>
          </div>
          <div class="item">
            <img src="./icon/二维码-苹果app.png" alt="ios">
            <div>苹果端app</div>
          </div>
        </div>
        <div>©2019 华普电力有限公司</div>
      </footer>
    </main>
  </div>
  <script>

    (function () {
      ls = document.querySelectorAll('.content img');
      ls.forEach(l => {
        l.onmouseover = function () {
          let src = l.src,
            datasrc = l.dataset.src;
          l.src = datasrc;
          l.dataset.src = src;
        }
        l.onmouseout = function () {
          let src = l.src,
            datasrc = l.dataset.src;
          l.src = datasrc;
          l.dataset.src = src;
        }
      });
    })()
  </script>
</body>

</html>